﻿using DbDiploma.Entities;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DbDiploma.Context
{
    public class DiplomaContext : DbContext
    {
        public DbSet<UserEntity> Users { get; set; }
        public DbSet<ActionEntity> Actions { get; set; }
        public DbSet<CityEntity> Cities { get; set; }
        public DbSet<CommentEntity> Comments { get; set; }
        public DbSet<CountryEntity> Countries { get; set; }
        public DbSet<EventEntity> Events { get; set; }
        public DbSet<FollowerEntity> Followers { get; set; }
        public DbSet<LikeEntity> Likes { get; set; }
        public DbSet<LogEntity> Logs { get; set; }
        public DbSet<PermissionEntity> Permissions { get; set; }
        public DbSet<RoleEntity> Roles { get; set; }
        public DbSet<SessionEntity> Sessions { get; set; }
        public DbSet<SubscriptionEntity> Subscriptinos { get; set; }
        public DbSet<TagEntity> Tags { get; set; }
    }
}
